export const changeMsg = ({commit}) => {
  commit({
    type: 'mutationsMsg',     // 对应mutation.js中的mutationsMsg方法
    msg: '我是修改后的数据~~~'
  });
};

export const actCode = ({commit}, data) => {
  commit({
    type: 'setCodeBack',     // 对应mutation.js中的mutationsMsg方法
    data
  });
};

export const actApplet = ({commit}, data) => {
  commit({
    type: 'setApplet',     // 对应mutation.js中的mutationsMsg方法
    data
  });
};
